#loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8); /* Fundo semi-transparente */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1010; /* Garante que fique na frente do conteúdo */
}

.loader {
    border: 8px solid #f3f3f3; /* Cinza claro */
    border-top: 8px solid #3498db; /* Azul */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 2s linear infinite; /* Animação de rotação */
    margin-bottom: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.bg-animation span {
    position: absolute;
    width: 50px;  /* Ajuste o tamanho conforme necessário */
    height: 30px; /* Ajuste o tamanho conforme necessário para manter a proporção da imagem */
    /* border-radius: 50%;  Remova esta linha */
    /* background: rgba(52, 152, 219, 0.3);  Remova esta linha */
    background-image: url('../../img/glasses.png'); /* Substitua pelo caminho da sua imagem */
    background-size: contain; /* Garante que a imagem caiba no span */
    background-repeat: no-repeat; /* Evita que a imagem se repita */
    animation: animate 8s linear infinite;
    bottom: -150px;
}

.bg-animation span:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
}

.bg-animation span:nth-child(2) {
    left: 20%;
    width: 80px;
    height: 80px;
    animation-delay: 2s;
}

.bg-animation span:nth-child(3) {
    left: 30%;
    animation-delay: 4s;
}

.bg-animation span:nth-child(4) {
    left: 40%;
    width: 60px;
    height: 60px;
    animation-delay: 0s;
    animation-duration: 12s;
}

.bg-animation span:nth-child(5) {
    left: 50%;
    width: 30px;
    height: 30px;
    animation-delay: 6s;
}

.bg-animation span:nth-child(6) {
    left: 60%;
    width: 110px;
    height: 110px;
    animation-delay: 3s;
}

.bg-animation span:nth-child(7) {
    left: 70%;
    animation-delay: 7s;
}

.bg-animation span:nth-child(8) {
    left: 80%;
    width: 40px;
    height: 40px;
    animation-delay: 5s;
    animation-duration: 10s;
}

.bg-animation span:nth-child(9) {
    left: 90%;
    width: 70px;
    height: 70px;
    animation-delay: 2s;
}

.bg-animation span:nth-child(10) {
    left: 95%;
    width: 100px;
    height: 100px;
    animation-delay: 4s;
    animation-duration: 15s;
}

@keyframes animate {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(-800px) rotate(360deg);
        opacity: 0;
    }
}